@document({ name: "数学类函数"})
@dslClass({ language: "java", code: "com.inspur.edp.rule.dsl.core.function.MathUtils" })
export class MathUtils {

     @document({ name: "求绝对值"})
     public static abs( @document({name:"数字"}) a : number) : number ;

     @document({ name: "四舍五入"})
     public static  round( @document({name:"数字"}) a : number ) : number ;

     @document({ name: "生成随机数"})
     public static  random() : number ;

     @document({ name: "向上取整"})
     public static  ceil( @document({name:"数字"}) a : number) :number ;

     @document({ name: "向下取整"})
     public static  floor(@document({name:"数字"}) a : number) :number ;

	 @document({ name: "是否等于"})
     public static  isEqual(@document({name:"数字1"}) number1 : number ,@document({name:"数字2"}) number2 : number) :boolean ;

	  @document({ name: "是否不等于"})
     public static  isNotEqual(@document({name:"数字1"}) number1 : any ,@document({name:"数字2"}) number2 : any) :boolean ;

	 @document({ name: "是否大于"})
     public static  isGreaterThan(@document({name:"数字1"}) number1 : any ,@document({name:"数字2"}) number2 : any) :boolean ;

	 @document({ name: "是否大于等于"})
     public static  isGreaterThanEqual(@document({name:"数字1"}) number1 : any ,@document({name:"数字2"}) number2 : any) :boolean ;

	  @document({ name: "是否小于"})
     public static  isLessThan(@document({name:"数字1"}) number1 : any ,@document({name:"数字2"}) number2 : any) :boolean ;

	 @document({ name: "是否小于等于"})
     public static  isLessThanEqual(@document({name:"数字1"}) number1 : any ,@document({name:"数字2"}) number2 : any) :boolean ;


}